_r_e_s_o_u_r_c_e expects a resource ID from which you desire events.
_p_a_r_a_m_s expects an int pointer with a list of parameters for which you
desire events.
_n_p_a_r_a_m_s expects an int with the total number of parameters in the list
_p_a_r_a_m_s.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
aaaallllSSSSeeeelllleeeeccccttttEEEEvvvveeeennnnttttssss((((3333ddddmmmm)))) sets up _e_v_e_n_t_q to receive audio events from _r_e_s_o_u_r_c_e
(see aaaallllRRRReeeessssoooouuuurrrrcccceeeessss((((3333ddddmmmm))))). An event will be generated whenever the value of
a parameter from _p_a_r_a_m_s changes on the given resource. Please refer to
aaaallllPPPPaaaarrrraaaammmmssss((((3333ddddmmmm)))) for a complete list of parameters that can generate events.
To retrieve events, use aaaallllNNNNeeeexxxxttttEEEEvvvveeeennnntttt((((3333ddddmmmm)))) and aaaallllCCCChhhheeeecccckkkkEEEEvvvveeeennnntttt((((3333ddddmmmm)))).
You can call aaaallllSSSSeeeelllleeeeccccttttEEEEvvvveeeennnnttttssss((((3333ddddmmmm)))) several times on an event queue. Thus a
single event queue can monitor events from multiple resources.
In some cases, the resource that generates an event will differ from the
resource specified in aaaallllSSSSeeeelllleeeeccccttttEEEEvvvveeeennnnttttssss. As noted in aaaallllPPPPaaaarrrraaaammmmssss((((3333ddddmmmm)))),
parameters addressed to one resource can be passed on to other resources.
For example, an AL_RATE passed to a device is actually handled by the
device's clock-generator, a separate resource. In this case, if you
request AL_RATE events from the device, you will be notified when the
value of AL_RATE changes on the device's clock-generator; both resource
ID's will show up in the event. Refer to aaaallllGGGGeeeettttEEEEvvvveeeennnnttttSSSSrrrrccccRRRReeeessssoooouuuurrrrcccceeee((((3333ddddmmmm)))) and
aaaallllGGGGeeeettttEEEEvvvveeeennnnttttRRRReeeessssoooouuuurrrrcccceeee((((3333ddddmmmm)))) for more information.
Event queues monitoring either AAAALLLL____DDDDEEEEFFFFAAAAUUUULLLLTTTT____IIIINNNNPPPPUUUUTTTT or AAAALLLL____DDDDEEEEFFFFAAAAUUUULLLLTTTT____OOOOUUUUTTTTPPPPUUUUTTTT will
change to monitor the new device when the default is changed. Note that
events with certain parameters will cease to be generated due to the
characteristics of the new resource.
To deselect event notification on an event queue, use